<?php
error_reporting(1);
require_once 'library/fungsi.lib.php';


// session
session_start();
$sess_id = session_id();

!isset($_GET["opr"]) ? $_GET["opr"] = "home" : null;
$ids = !isset($_GET["id"]) ? null : " - " . get_produk_name_from_seo($_GET["id"]);
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <meta name="robots" content="index, follow" />
        <meta name="description" content="<?php echo description; ?>" />
        <meta name="keywords" content="<?php echo keywords; ?>" />
        <title><?php echo title . $ids; ?></title>
        <link href="<?php echo URLHOST; ?>asset/img/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <link type="text/css" rel="stylesheet" media="screen" href="<?php echo URLHOST; ?>asset/css/style.css" />
        <script src="<?php echo URLHOST; ?>asset/js/jquery-1.7.min.js"></script>
        <script src="<?php echo URLHOST; ?>asset/js/jquery.easing.1.3.js"></script>
        <script src="<?php echo URLHOST; ?>asset/js/tms-0.4.1.js"></script>
        <script>
            $(document).ready(function(){
                $('.slider')._TMS({
                    show:0,
                    pauseOnHover:false,
                    prevBu:false,
                    nextBu:false,
                    playBu:false,
                    duration:700,
                    preset:'fade',
                    pagination:'.pags',
                    pagNums:false,
                    slideshow:7000,
                    numStatus:false,
                    banners:false,// fromLeft, fromRight, fromTop, fromBottom
                    waitBannerAnimation:false,
                    progressBar:false
                })
            });
        </script>
    </head>
    <body>
        <div id="wraper">
            <div id="header">
                <div id="header-menu">
                    <ul class="menu">
                        <li class="current li-none"><a href="index.html">Home</a></li>
                        <li><a href="about.html">About</a></li>
                        <li><a href="portfolio.html">Portfolio</a></li>
                        <li><a href="services.html">Services</a></li>
                        <li><a href="news.html">News</a></li>
                        <li><a href="contacts.html">Contacts</a></li>					
                    </ul>
                </div>
                <div id="header-slide">
                    <div id="slider">
                        <?php
                        load_slide_show(1, 5);
                        ?>
                    </div>
                </div>
            </div>
            <div id="content">
                <div id="content-slide"></div>
                <div id="contents">
                    <div id="contents-left"></div>
                    <div id="contents-right"></div>
                </div>
            </div>
            <div id="footer"></div>
        </div>
    </body>
</html>